package com.dynamic.data.permission.model;

public class ResourceCheckHolder {

    public static final ThreadLocal<Boolean> RESOURCE_CHECK = new ThreadLocal<>();


    public static void set(boolean flag) {
        RESOURCE_CHECK.set(flag);
    }

    public static Boolean get() {

        return RESOURCE_CHECK.get();
    }

    public static void clear() {
        RESOURCE_CHECK.remove();
    }
}
